﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="ManageAdd.aspx.cs" Inherits="ITOMMS.Web.UserManage.ManageAdd" %>

<%@ Register Src="../Control/HeadControl.ascx" TagName="HeadControl" TagPrefix="uc4" %>
<%@ Register Src="../Control/FootControl.ascx" TagName="FootControl" TagPrefix="uc3" %>
<%@ Register Src="../Control/leftMenuControl.ascx" TagName="leftMenuControl" TagPrefix="uc2" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title>管理员添加</title>
    <link href="../css/layout.css" rel="stylesheet" type="text/css" />
    <link rel="stylesheet" id='skin' type="text/css" href="../css/skin/qq/ymPrompt.css" />
    <link rel="stylesheet" id='Link1' type="text/css" href="../css/jquery.Validator.Tooltip.css" />
        <script type="text/javascript" src="../js/jquery.pack.js"></script>

    <script type="text/javascript" src="../js/jquery.Validator.js"></script>
    <script type="text/javascript" src="../js/ymPrompt.js"></script>

</head>
<body>
    <form id="form1" runat="server">
    <div id="content1">
                    <div style="margin: 0 0; height: 428px; text-align: center; border: 1px solid #DCDCDC;
                        background: url(images/line_bg.PNG) repeat-x bottom;">
                        <table class="tblDataArea" width="100%">
                            <tr class="tblQueryArea">
                                <td class="tblDataCaption" colspan="4">
                                    <div style="width: 210px;" class="title">
                                        <img src="../images/lv3.gif" style="margin-bottom: -3px;" />管理员添加</div>
                                        <asp:Button ID="btnBack" CssClass="cssButton" runat="server" Text="返回" OnClick="btnBack_Click" />
                                 </td>
                            </tr>
                            <tr>
                                <td class="tdQueryCaption">
                                    用户类型：</td>
                                <td class="tdQueryField">
                                        <asp:DropDownList ID="ddlUserType" runat="server" class="input_out" onfocus="this.className='input_on';this.onmouseout=''"
                                            onblur="this.className='input_off';this.onmouseout=function(){this.className='input_out'};"
                                            onmousemove="this.className='input_move'" onmouseout="this.className='input_out'" Width="162px">
                                            <asp:ListItem Value="1">技术主管</asp:ListItem>
                                            <asp:ListItem Value="2">管理员</asp:ListItem>
                                            <asp:ListItem Value="3">技术员</asp:ListItem>
                                        </asp:DropDownList><span style="color:Red">*</span></td>
                                <td class="tdQueryCaption">
                                </td>
                                <td class="tdQueryField">
                                </td>
                            </tr>
                            <tr>
                                <td class="tdQueryCaption">
                                    用户名：</td>
                                <td class="tdQueryField">
                                        <asp:TextBox ID="txtUserName" runat="server" class="input_out" onblur="this.className='input_off';this.onmouseout=function(){this.className='input_out'};"
                                            onfocus="this.className='input_on';this.onmouseout=''" onmousemove="this.className='input_move'"
                                            onmouseout="this.className='input_out'"></asp:TextBox><span style="color:Red">*</span></td>
                                <td class="tdQueryCaption">
                                    密码：</td>
                                <td class="tdQueryField">
                                    <asp:TextBox ID="txtPWD" runat="server" class="input_out" onblur="this.className='input_off';this.onmouseout=function(){this.className='input_out'};"
                                        onfocus="this.className='input_on';this.onmouseout=''" onmousemove="this.className='input_move'"
                                        onmouseout="this.className='input_out'"></asp:TextBox><span style="color:Red">*</span></td>
                            </tr>
                            <tr>
                                <td class="tdQueryCaption">
                                    姓名：</td>
                                <td class="tdQueryField">
                                    <asp:TextBox ID="txtRealName" runat="server" class="input_out" onblur="this.className='input_off';this.onmouseout=function(){this.className='input_out'};"
                                        onfocus="this.className='input_on';this.onmouseout=''" onmousemove="this.className='input_move'"
                                        onmouseout="this.className='input_out'"></asp:TextBox><span style="color:Red">*</span></td>
                                <td class="tdQueryCaption">
                                    性别：</td>
                                <td class="tdQueryField"><asp:DropDownList ID="ddlSex" runat="server" class="input_out" onfocus="this.className='input_on';this.onmouseout=''"
                                        onblur="this.className='input_off';this.onmouseout=function(){this.className='input_out'};"
                                        onmousemove="this.className='input_move'" onmouseout="this.className='input_out'" Width="162px">
                                    <asp:ListItem Value="1">男</asp:ListItem>
                                    <asp:ListItem Value="2">女</asp:ListItem>
                                    <asp:ListItem Value="3">保密</asp:ListItem>
                                </asp:DropDownList></td>
                            </tr>
                            <tr>
                                <td class="tdQueryCaption">
                                    所属部门：</td>
                                <td class="tdQueryField"><asp:DropDownList ID="ddlDepartment" runat="server" class="input_out" onfocus="this.className='input_on';this.onmouseout=''"
                                            onblur="this.className='input_off';this.onmouseout=function(){this.className='input_out'};"
                                            onmousemove="this.className='input_move'" onmouseout="this.className='input_out'" Width="162px">
                                      </asp:DropDownList>*</td>
                                <td class="tdQueryCaption">
                                    职位/职称：</td>
                                <td class="tdQueryField">
                                    <asp:TextBox ID="txtjob" runat="server" class="input_out" onblur="this.className='input_off';this.onmouseout=function(){this.className='input_out'};"
                                        onfocus="this.className='input_on';this.onmouseout=''" onmousemove="this.className='input_move'"
                                        onmouseout="this.className='input_out'"></asp:TextBox>*</td>
                            </tr>
                            <tr>
                                <td class="tdQueryCaption">
                                    工号：</td>
                                <td class="tdQueryField">
                                    <asp:TextBox ID="txtWorkNo" runat="server" class="input_out" onblur="this.className='input_off';this.onmouseout=function(){this.className='input_out'};"
                                        onfocus="this.className='input_on';this.onmouseout=''" onmousemove="this.className='input_move'"
                                        onmouseout="this.className='input_out'"></asp:TextBox></td>
                                <td class="tdQueryCaption">
                                    邮箱：</td>
                                <td class="tdQueryField">
                                    <asp:TextBox ID="txtEmail" runat="server" class="input_out" onblur="this.className='input_off';this.onmouseout=function(){this.className='input_out'};"
                                        onfocus="this.className='input_on';this.onmouseout=''" onmousemove="this.className='input_move'"
                                        onmouseout="this.className='input_out'"></asp:TextBox></td>
                            </tr>
                            <tr>
                                <td class="tdQueryCaption">
                                    电话：</td>
                                <td class="tdQueryField">
                                    <asp:TextBox ID="txtTel" runat="server" class="input_out" onblur="this.className='input_off';this.onmouseout=function(){this.className='input_out'};"
                                        onfocus="this.className='input_on';this.onmouseout=''" onmousemove="this.className='input_move'"
                                        onmouseout="this.className='input_out'"></asp:TextBox>如：051-88465742</td>
                                <td class="tdQueryCaption">
                                    手机：</td>
                                <td class="tdQueryField">
                                    <asp:TextBox ID="txtMobile" runat="server" class="input_out" onblur="this.className='input_off';this.onmouseout=function(){this.className='input_out'};"
                                        onfocus="this.className='input_on';this.onmouseout=''" onmousemove="this.className='input_move'"
                                        onmouseout="this.className='input_out'"></asp:TextBox></td>
                            </tr>
                            <tr>
                                <td class="tdQueryCaption">
                                    MSN：</td>
                                <td class="tdQueryField">
                                    <asp:TextBox ID="txtMsn" runat="server" class="input_out" onblur="this.className='input_off';this.onmouseout=function(){this.className='input_out'};"
                                        onfocus="this.className='input_on';this.onmouseout=''" onmousemove="this.className='input_move'"
                                        onmouseout="this.className='input_out'"></asp:TextBox></td>
                                <td class="tdQueryCaption">
                                    QQ：</td>
                                <td class="tdQueryField">
                                    <asp:TextBox ID="txtQQ" runat="server" class="input_out" onblur="this.className='input_off';this.onmouseout=function(){this.className='input_out'};"
                                        onfocus="this.className='input_on';this.onmouseout=''" onmousemove="this.className='input_move'"
                                        onmouseout="this.className='input_out'"></asp:TextBox></td>
                            </tr>
                            <tr>
                                <td class="tdQueryCaption">
                                    备注：</td>
                                <td class="tdQueryField" colspan="3">
                                    <asp:TextBox ID="txtRemark" runat="server" TextMode="MultiLine" class="input_out"
                                        onfocus="this.className='input_on';this.onmouseout=''" onblur="this.className='input_off';this.onmouseout=function(){this.className='input_out'};"
                                        onmousemove="this.className='input_move'" onmouseout="this.className='input_out'"
                                        Height="80px" Width="610px"></asp:TextBox>
                                </td>
                            </tr>
                            <tr class="tblQueryArea">
                                <td class="tblDataCaption" colspan="4" style="text-align: center; height: 31px;">
                                    <asp:Button ID="btnSave" runat="server" CssClass="cssButton" Text="保存" OnClientClick="javascript:return confirm('你确认要提交吗?');" OnClick="btnSave_Click" /></td>
                            </tr>
                        </table>
                    </div>
                </div>
    </form>
</body>
</html>
        
    <script type="text/javascript">

function check()
{
	if($.GetValidResult())/*验证表单*/
	{	
	    return true; 
	}
	else
	{
	    return false;
	}
}

    $("#txtRealName").attr("dataType","Require");
    $("#txtRealName").attr("tip", " ");
    
    
    $("#txtUserName").attr("dataType","Require");
    $("#txtUserName").attr("tip", " ");
    
    $("#txtPWD").attr("dataType","Require");
    $("#txtPWD").attr("tip", " ");
    
    
      $("#ddlUserType").attr("dataType","OverEqualsZero");
      $("#ddlUserType").attr("tip", "");

      $("#ddlRequestUserID").attr("dataType","OverEqualsZero");
      $("#ddlRequestUserID").attr("tip", "");
                
</script>
